package com.ir.slassm.dao;

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManager;
import javax.jdo.PersistenceManagerFactory;

public final class JDOFactory {
	private static final PersistenceManagerFactory jdoFactoryInstance =
        JDOHelper.getPersistenceManagerFactory("transactions-optional");

	/**
	 * NOTE: Not accessable publicaly
	 */
	private JDOFactory(){};
	
	public static PersistenceManager getPersistanceManagerInstance() {
		return jdoFactoryInstance.getPersistenceManager();
	}
	
}
